// Copyright (c)  YISH. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

namespace NSQL.Expressions.Functions
{
    public interface IPercentileFunction : INumericFunction, IAggregateFunction
    {
        INumericExpression Expr { get; }
        PercentileType Type { get; set; }
        INumericExpression P { get; set; }
        Order Order { get; set; }
    }

    public enum PercentileType
    {
        Cont,
        Disc
    }
}